package com.iengoo.inductionms.ctrl.rest;

import com.iengoo.inductionms.entity.GraduationSituation;
import com.iengoo.inductionms.service.GraduationSituationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * Author:huermao
 * 毕业情况表
 **/
@RestController
@RequestMapping("/graduation_situation")
public class GraduationSituationController {
    @Autowired
    private GraduationSituationService graduationSituationService;
    @GetMapping
    public List<GraduationSituation> getGraduationSituation() {
        List<GraduationSituation> graduationSituationList = graduationSituationService.queryAll();
        return graduationSituationList;
    }
}
